﻿using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using TeaLight.Core.DAL;
using TeaLight.DL.SQLite;

namespace TeaLight.Core.BL.Entities
{
    public partial class Session 
    {
        [XmlIgnore]
        [TeaLight.DL.SQLite.Ignore]
        public IEnumerable<Speaker> Speakers
        {
            get
            {
                return SessionRepository.GetSpeakers(this);
            }
        }

        [XmlIgnore]
        [Ignore]
        public string SpeakerNames { 
            get { return null; }
        }

    }

}
